package com.irdstudio.efp.esb.api.bean.sed.ploaninfo;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.basic.framework.core.annotation.NumType;
import com.irdstudio.basic.framework.core.constant.SelttypeEnum;
import com.irdstudio.efp.esb.api.common.sed.SetlType;
import org.hibernate.validator.constraints.Length;

/**
* 普税贷产品对税e贷产品的此部分代码做了复用
* 说明：为了保证功能的复用性、提升开发的工作效率，对该代码进行了复用
* 评估是否会影响线上功能：否
* 评估时间：2020/5/25
* 处理方案：保留复用
*/
/**
 * 需求编号：【2019D0519】
 * 问题编号：【】
 * @date 2019/5/9 10:19
 */
public class ReqPersonalRepayDetail {

    /**
     * 借据号
     */
    @JSONField(name = "DblNo")
    @Length(max = 64)
    private String billNo;
    /**
     * 还款申请流水号
     */
    @JSONField(name = "OriTxnFlowNo")
    @Length(max = 32)
    private String setlSeq;
    /**
     * 还款类型
     */
    @JSONField(name = "RpyType")
    @Length(max = 5)
    @DicType(dicType = SetlType.class,message = "还款类型非法", method = "getType")
    private String setlType;
    /**
     * 页数
     */
    @JSONField(name = "PgNo")
    @NumType
    @Length(max = 9)
    private String pageNo;
    /**
     * 页大小
     */
    @JSONField(name = "PerPgRcrNum")
    @NumType
    @Length(max = 9)
    private String pageSize;

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }


    public String getPageNo() {
        return pageNo;
    }

    public void setPageNo(String pageNo) {
        this.pageNo = pageNo;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getSetlSeq() {
        return setlSeq;
    }



    public String getSetlType() {
        return setlType;
    }

    public void setSetlSeq(String setlSeq) {
        this.setlSeq = setlSeq;
    }

    public void setSetlType(String setlType) {
        this.setlType = setlType;
    }
}
